//
//  ViewController.m
//  JSPatchDemo
//
//  Created by tans on 16/12/8.
//  Copyright © 2016年 com.znfox. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    [self testCrashMethod];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

//待热修复的方法
- (void)testCrashMethod
{
    //崩溃测试
    NSMutableDictionary *dict = [NSMutableDictionary dictionary];
    NSString *name = nil;
    [dict setObject:name forKey:@"name"];
}

@end
